/* eslint-disable no-multi-assign */
import Vue from 'vue';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import VueLazyload from 'vue-lazyload';
import App from './App.vue';
import router from './router';
import store from './store';

Vue.config.productionTip = false;
Vue.use(VueAwesomeSwiper);
// 图片懒加载
Vue.use(VueLazyload, {
  preLoad: 1,
  // eslint-disable-next-line global-require
  loading: require('./assets/img/album.png'),
});
// 版权信息
window.mmPlayer = window.mmplayer = `欢迎使用 svmusic!
作者：svanrj
Github：https://github.com/svanrj1219
歌曲来源于网易云音乐 (https://music.163.com)`;
console.info(`%c${window.mmplayer}`, 'color:blue');

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
